package com.mspbots.cw.amqp.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * com.mspbots.cw.amqp.model.TicketAuditor
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2020/5/8
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "tenant_ticket_audittrail")
public class TicketAuditTrail {

    @Id
    private Long id;
    private Integer tenantId;
    private String identifier;
    private Long ticketId;
    private String statusFrom;
    private String statusTo;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private LocalDateTime syncTime;

}
